home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-03-25 | 6.0 KB | 211 lines | [TEXT/ttxt] |
- Rotater 2.6
- ===========
- This is a program that reads a set of 3-dimensional points
- and lines and plots them in a window. The image can then
- be rotated with the mouse in real time.
-
- Requires System 7 or greater.
- 8 bit colour screen and Power Macintosh preferable.
-
-
- Versions
- --------
- Rotater-FAT-2.6
- A fat binary for PowerMacs and 68K Macs
-
- Rotater-881-2.6
- A binary for 68K Macs with an FPU
- Will not run on a PowerMac or a 68K Mac with no FPU
-
-
- Changes from 2.0
- ----------------
- A new icon :-)
- faster!
- Can now have a white background in 3D-Glasses Mode.
- Recompiled with CW5 - slightly faster again.
- New folder icon :-)
- Floating Info Windows.
- New folder icon for rotater files :-)
- Can now center object on the screen
- Reads in large files more than 20 times faster
-
-
- Help
- ----
- The program has balloon help for all of the menu items.
-
-
- Rotation Method
- ---------------
- Click on the image and hold the mouse button down. Moving the
- mouse now rotates the image.
-
- The track-ball rotation method is used to rotate the image.
- Imagine the image is inside a clear ball. Dragging the mouse
- across it is like rolling the ball. Try it and see :-)
-
- If you have the Grab & Spin option set under the action menu,
- when you let go of the mouse button while still moving the mouse
- the image will continue to rotate in the same direction.
- Stop all rotation by clicking the mouse once. You may need to
- hold the mouse button down for a while on slow machines.
-
- Drag & Spin will not work if the image takes longer than 1/4 of a
- second to calculate and draw. Copying to very large windows slows
- the program down considerably.
-
-
- Keyboard Rotations
- ------------------
- The "x", "y" and "z" keys rotate about their respective axes. By
- holding the shift key down when using them, the image will rotate
- in the opposite direction. The arrow keys can also be used for
- rotating the image.
-
- The 'x' axis runs left and right across the window, 'z' runs up
- and down the screen and 'y' runs into and out of the screen.
-
-
- Resizing the Viewing Window
- ---------------------------
- The viewing window can be resized using an invisible handle on
- the bottom right corner of the window.
-
- Maximum window size is full screen on a 16" monitor.
-
- Square windows are optimal in normal mode. Windows twice as
- wide as they are high are optimal for stereo mode.
-
- Smaller windows run faster.
-
-
- Saving Images
- -------------
- Images can be saved to disk either as a 72 dot per inch
- bitmap or as 300 dpi Vector picture that can be edited and
- printed from draw type programs. Note that there is an upper
- limit for the number of elements that can be saved in vector
- format somewhere around 20,000.
-
- Note that files saved at 300dpi have joins at 72dpi intervals
- when imported to some programs. I dont know how to fix this.
-
-
- Maximum Number of Points/Lines
- ------------------------------
- The default memory allocation for the program should be enough to
- read about 20000 points or lines in. To increase this number,
- increase the memory allocation in the programs "Get Info" box.
-
- You will receive a warning if you try to read in a file that is
- too large for available memory.
-
-
- Speed of Rotating
- -----------------
- Smaller windows run faster.
-
- Hiding lines slows the program down especially on non-PPC machines.
-
- Thinner lines and smaller dots run faster.
-
- Make sure your monitor is in 8-bit mode with the System colour
- palette for maximum speed.
-
- This program runs VERY VERY much faster on a Power Macintosh than
- on a 68K Macintosh (about 10 times faster!).
-
- Points plot VERY much faster than lines. 10000 points can be
- comfortably manipulated on a Power Macintosh 6100/60.
-
-
- Format of the Input File
- ------------------------
- The input file consists of sets of four points on each line
-
- x y z c
-
- x = x coordinate of a point (real)
- y = y coordinate of a point (real)
- z = z coordinate of a point (real)
- c = colour and/or drawing method (integer)
-
- if (c = 0) move to the x,y,z point without drawing
- if (c > 0) draw a line to the x,y,z point from the current
- position using colour c
- if (c < 0) draw a dot at x,y,z using colour -c
-
- where
- if (c = 1) colour is red
- if (c = 2) colour is green
- if (c = 3) colour is blue
- if (c = 4) colour is yellow
- if (c = 5) colour is purple
- if (c = 6) colour is cyan
- if (c > 6) colour is white
-
- eg
- 0.5 2.3 -1 0 # moves to point 0.5 2.3 -1 without drawing
- 3 5 6 2 # draws red line from 0.05 2.3 -1 to 3 5 6
- 5 -5 2 -3 # plots blue dot at 5 -5 2
-
- The points are automatically scaled to fit in the window and
- rotation is about 0,0,0.
-
- The input file can be any text file.
- # Comment lines begin with the '#' character.
- Text after the four points on a line is ignored.
- Completely blank lines are ok (they are ignored).
-
- Contiguous comments at the very start of the file are read in
- and displayed in the program in the File Comments window.
- Use this to explain to the user what the image is and where
- it comes from. Try to keep it short otherwise the window gets
- too big. Internal documentation can be placed in other
- comments after a blank line.
-
-
- Notes
- -----
- This program is free and I take no responsibility if it kills
- your machine or drives you mad. Use at your own risk.
-
- It may not be sold.
-
- Source code and project files for the Metrowerks CW5 compilers
- are available at the archive site or on request.
-
- E-mail me if you find a use for this program or come up with a
- cool set of points/lines worth adding to the collection.
-
- The official Archive site for source code, new updates,
- rotation files etc is:
- ftp://raru.adelaide.edu.au/rotater
- or
- http://raru.adelaide.edu.au/rotater
-
-
- Thanks To
- ---------
- Thanks go to the following:
-
- Metrowerks for a great compiler.
- Toby Thain and Dale Greer for help speeding up the program.
- Andrew Maloney for speed and floating window help.
- Tim Olson for bzero.
- David Doak, Charles Williams and E.J. Chichilnisky
- for many helpful suggestions.
- Richard Chipper for the new icons.
- Troy Gaul for the Infinity Windoid WDEF.
- Patrick Rabou for help speeding up file reading.
-
- Numerous people for rotation files (see comments in the files)
-
-
- Enjoy
-
- Craig Kloeden
- craig@raru.adelaide.edu.au
- 25 March 1995
-